package danlib;

public interface DPaint
{
	public PaintSurface page = new PaintSurface();
	
	public class PaintSurface extends JComponent
	{
		ImageObserver obs;
		public synchronized void paint(Graphics g)
		{
			g2 = (Graphics2D)g;
			setUp(g2);
			draw(g2);
			
		}
	}

}